package com.zwz.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zwz.bean.Title;

import java.util.List;

public interface TitleService {
    boolean insert(Title title);

    boolean deleteById(Integer tid);

    boolean updateById(Title title);

    Title getById(Integer tid);

    IPage<Title> getPage(int currentPage, int pageSize, Title title);

    int countAll();

    List<Title> queryList(Title title);
}
